#include <stdio.h>

int main() {
	int a;
	while (scanf("%d", &a) != EOF) {
		for (int i = 1; i <= a; i++) {
			for (int j = i; j <= i; j++) {
				printf("%d ", j);
			}
			printf("\n");
		}
	}
	return 0;
}